package com.ruoyi.project.system.service;

import java.util.List;
import com.ruoyi.project.system.domain.SysReceiveCoupon;

/**
 * 我领取的优惠券Service接口
 * 
 * @author jjp
 * @date 2020-04-22
 */
public interface ISysReceiveCouponService 
{
    /**
     * 查询我领取的优惠券
     * 
     * @param receiveId 我领取的优惠券ID
     * @return 我领取的优惠券
     */
    public SysReceiveCoupon selectSysReceiveCouponById(Long receiveId);

    /**
     * 查询我领取的优惠券列表
     * 
     * @param sysReceiveCoupon 我领取的优惠券
     * @return 我领取的优惠券集合
     */
    public List<SysReceiveCoupon> selectSysReceiveCouponList(SysReceiveCoupon sysReceiveCoupon);

    /**
     * 新增我领取的优惠券
     * 
     * @param sysReceiveCoupon 我领取的优惠券
     * @return 结果
     */
    public int insertSysReceiveCoupon(SysReceiveCoupon sysReceiveCoupon);

    /**
     * 修改我领取的优惠券
     * 
     * @param sysReceiveCoupon 我领取的优惠券
     * @return 结果
     */
    public int updateSysReceiveCoupon(SysReceiveCoupon sysReceiveCoupon);

    /**
     * 批量删除我领取的优惠券
     * 
     * @param receiveIds 需要删除的我领取的优惠券ID
     * @return 结果
     */
    public int deleteSysReceiveCouponByIds(Long[] receiveIds);

    /**
     * 删除我领取的优惠券信息
     * 
     * @param receiveId 我领取的优惠券ID
     * @return 结果
     */
    public int deleteSysReceiveCouponById(Long receiveId);

    public List<SysReceiveCoupon> selectUserCoupon(Long mobileUserId);

    public List<SysReceiveCoupon> notCoupon(Long mobileUserId);

    public List<SysReceiveCoupon> yesCoupon(Long mobileUserId);

    public List<SysReceiveCoupon> notUseCoupon(Long mobileUserId);
}
